<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>用户登录</title>
    <link rel="stylesheet" href="css/blog.css">
</head>
<body>

<div class="box">
    <header>
        <h2>我的BLOG</h2>
    </header>
    <div class="content clearBox">
        <div class="left">
            <h5 class="title">用户登录</h5>
            <form action="php/login.php" method="post" name="loginForm">
                <dl>
                    <dt>用户名：</dt>
                    <dd><input type="text" name="user"/></dd>
                </dl>

                <dl>
                    <dt>密码：</dt>
                    <dd><input type="password" name="pwd"/></dd>
                </dl>
                <div>
                    <button type="submit" name="btn">登录</button>
                    <a href="php/register.php" name="reg">注册</a>
                </div>


            </form>


        </div>
        <div class="right">
            <h5 class="title">关于我</h5>
            <p class="right-ctn">php初学者</p>
        </div>
    </div>
</div>

<div class="footer">CopyRight&nbsp;2017</div>


<script src="js/login.js"></script>
<script>
    addLoadEvent(checkLogin("loginForm"));
</script>
</body>
</html>